﻿using mds.Common;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace mds.Configuration
{
    public class ConfigurationAdapter : IMdsConfiguration 
    {
        private static ConfigurationAdapter _instance = new ConfigurationAdapter();
        private ConfigurationAdapter()
        {
           
        }
        public static IMdsConfiguration Instance
        {
            get
            {
                return _instance;
            }
        }       
         
        public T GetConfigItem<T>(string appPlusId)
        {
            return ConfigurationManager.Instance.GetService<T>(appPlusId);           
        }
       
    }
}
